<?php
header('content-type:text/html; charset=utf-8');
session_start();
@$id=$_REQUEST['id'];
@$lei=$_REQUEST['lei'];

$pdo=new PDO('mysql:dbname=can;charset=utf8','root');

$s=$pdo->prepare('insert into lei(lei) values(:aa)');
if($s->execute(array('aa'=>$lei))){
	header('content-type:text/html; charset=utf-8');
	header('Refresh:0;url=/cplie.php');
}